namespace Forging2.DataBase.ZH_IMES
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class usm_exception_bill
    {
        [Key]
        [StringLength(50)]
        public string GID { get; set; }

        [StringLength(50)]
        public string CODE { get; set; }

        [StringLength(50)]
        public string EXCEPTION_TYPE_GID { get; set; }

        [StringLength(50)]
        public string EXCEPTION_TYPE_CODE { get; set; }

        [StringLength(100)]
        public string EXCEPTION_TYPE_NAME { get; set; }

        [StringLength(50)]
        public string EXCEPTION_CONTENT_GID { get; set; }

        [StringLength(50)]
        public string EXCEPTION_CONTENT_CODE { get; set; }

        [StringLength(100)]
        public string EXCEPTION_CONTENT_NAME { get; set; }

        [StringLength(200)]
        public string EXCEPTION_REMARK { get; set; }

        [StringLength(50)]
        public string WORKORDER_GID { get; set; }

        [StringLength(50)]
        public string WORKORDER_CODE { get; set; }

        [StringLength(50)]
        public string OP_GID { get; set; }

        [StringLength(50)]
        public string OP_CODE { get; set; }

        [StringLength(50)]
        public string DEVICE_CODE { get; set; }

        [StringLength(50)]
        public string MRL_CODE { get; set; }

        [StringLength(50)]
        public string LAUNCH_ID { get; set; }

        public DateTime? LAUNCH_DATE { get; set; }

        public int? STATE { get; set; }

        [StringLength(50)]
        public string ACT_RE_PROCDEF_GID { get; set; }

        [StringLength(200)]
        public string REMARK { get; set; }

        [StringLength(50)]
        public string WORKCENTER_GID { get; set; }

        [StringLength(50)]
        public string WORKCENTER_CODE { get; set; }

        [StringLength(100)]
        public string WORKCENTER_NAME { get; set; }

        [StringLength(50)]
        public string WORKCELL_GID { get; set; }

        [StringLength(50)]
        public string WORKCELL_CODE { get; set; }

        [StringLength(100)]
        public string WORKCELL_NAME { get; set; }

        [StringLength(50)]
        public string SOURCE_CODE { get; set; }

        public int? SOURCE_TYPE { get; set; }

        [Column(TypeName = "datetime2")]
        public DateTime CREATE_DATE { get; set; }

        [Required]
        [StringLength(32)]
        public string CREATE_ID { get; set; }

        [StringLength(32)]
        public string MODIFY_ID { get; set; }

        [Column(TypeName = "datetime2")]
        public DateTime? MODIFY_DATE { get; set; }

        public int IS_ACTIVE { get; set; }

        public int IS_DELETE { get; set; }

        [StringLength(32)]
        public string SITE { get; set; }

        [StringLength(50)]
        public string UDA1 { get; set; }

        [StringLength(50)]
        public string UDA2 { get; set; }

        [StringLength(50)]
        public string UDA3 { get; set; }

        [StringLength(50)]
        public string UDA4 { get; set; }

        [StringLength(50)]
        public string UDA5 { get; set; }

        [StringLength(100)]
        public string UDA1C { get; set; }

        [StringLength(100)]
        public string UDA1N { get; set; }

        [StringLength(100)]
        public string UDA2C { get; set; }

        [StringLength(100)]
        public string UDA2N { get; set; }

        [StringLength(100)]
        public string UDA3C { get; set; }

        [StringLength(100)]
        public string UDA3N { get; set; }

        [StringLength(100)]
        public string UDA4C { get; set; }

        [StringLength(100)]
        public string UDA4N { get; set; }

        [StringLength(100)]
        public string UDA5C { get; set; }

        [StringLength(100)]
        public string UDA5N { get; set; }

        [StringLength(255)]
        public string FILE_NAME { get; set; }

        [StringLength(50)]
        public string ACTION_ID { get; set; }

        public DateTime? ACTION_DATE { get; set; }

        [StringLength(50)]
        public string HANDLE_ID { get; set; }

        public DateTime? HANDLE_DATE { get; set; }

        [StringLength(50)]
        public string CLOSE_ID { get; set; }

        public DateTime? CLOSE_DATE { get; set; }

        [StringLength(50)]
        public string EXCEPTION_MEASURE_GID { get; set; }

        [StringLength(50)]
        public string EXCEPTION_MEASURE_CODE { get; set; }

        [StringLength(255)]
        public string EXCEPTION_MEASURE_NAME { get; set; }

        [StringLength(50)]
        public string EXCEPTION_REASON_GID { get; set; }

        [StringLength(50)]
        public string EXCEPTION_REASON_CODE { get; set; }

        [StringLength(255)]
        public string EXCEPTION_REASON_NAME { get; set; }
    }
}
